import layout from '@/layout'
export default {
  path: '/employee',
  name: 'employee',
  component: layout,
  children: [
    {
      path: '',
      name: 'employee',
      component: () => import('@/views/employee'),
      meta: {
        title: '员工',
        icon: 'people'
      }
    },
    {
      path: '/employee/components/detail/:id?', // 员工详细的地址
      component: () => import('@/views/employee/components/detail.vue'),
      hidden: true,
      meta: {
        title: '员工详细'
      }
    }
  ]
}
